/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

import java.util.Locale;
import javax.swing.JFrame;
import service.inventory.*;
import service.promo.PromoDisitemService;
import service.promo.PromoDistrukService;
import service.promo.PromoPriceService;
import service.promo.PromoService;
import service.publics.SupplierService;
import service.publics.WorkstationService;
import service.purchasing.OrderService;
import service.purchasing.TorderService;
import service.sales.MembersService;
import service.sales.SalesInitService;
import service.sales.SalesSavingService;
import service.sales.SalesService;
import service.sales.SalesVoidService;
import service.sales.SalespendingService;
import service.system.*;
/**
 *
 * @author Yusup Jauhari Shandi <in.visi>
 */
public class ServicesList {
    private static SupplierService supplierService;
    private static ItemService itemService;
    private static UnitService unitService;
    private static DeptService deptService;
    private static PrincipalService principalService;
    private static PackagingService packagingService;
    private static SystemMenuService systemMenuService;
    private static ItemHppService itemHppService;
    private static SystemGroupService systemGroupService;
    private static SystemUserService systemUserService;
    private static SystemGroupAccessService systemGroupAccessService;
    private static HadiahService hadiahService;
    private static MembersService membersService;
    private static AdjMstService adjService;
    private static ItemSupplierService itemSupplierService;
    private static OrderService orderService;
    private static TorderService torderService;
    private static SystemNumberingService systemNumberingService;
    private static ItemStokService itemStokService;
    private static ItemPriceService itemPriceService;
    private static CompanyService companyService;
    private static PromoService promoService;
    private static PromoPriceService promoPriceService;
    private static PromoDisitemService promoDisitemService;
    private static PromoDistrukService promoDistrukService;
    private static SalesInitService salesInitService;
    private static SalesService salesService;
    private static SalesVoidService salesVoidService;
    private static SalespendingService salespendingService;
    private static SalesSavingService salesSavingService;
    private static WorkstationService WorkstationService;
    private static Locale local;
    private static SystemReportService systemReportService;
    
    public static JFrame MAIN_FRAME;

    public ServicesList() {
    
    }
    
    /*dipanggil oleh yg membutuhkan 
     //dipan
                supplierService = (SupplierService) applicationContext.getBean("supplierService");
                itemService = (ItemService) applicationContext.getBean("itemService");
                unitService = (UnitService) applicationContext.getBean("unitService");
                principalService = (PrincipalService) applicationContext.getBean("principalService");
                packagingService = (PackagingService) applicationContext.getBean("packagingService");
                deptService = (DeptService) applicationContext.getBean("deptService");

     */

    public static SupplierService getSupplierService() {
        return supplierService;
    }
    
    public static ItemService getItemService() {
        return itemService;
    }

    public static UnitService getUnitService() {
        return unitService;
    }

    public static DeptService getDeptService() {
        return deptService;
    }

    public static PrincipalService getPrincipalService() {
        return principalService;
    }

    public static PackagingService getPackagingService() {
        return packagingService;
    }

    public static void setDeptService(DeptService deptService) {
        ServicesList.deptService = deptService;
    }

    public static void setItemService(ItemService itemService) {
        ServicesList.itemService = itemService;
    }

    public static void setPackagingService(PackagingService packagingService) {
        ServicesList.packagingService = packagingService;
    }

    public static void setPrincipalService(PrincipalService principalService) {
        ServicesList.principalService = principalService;
    }

    public static void setSupplierService(SupplierService supplierService) {
        ServicesList.supplierService = supplierService;
    }

    public static void setUnitService(UnitService unitService) {
        ServicesList.unitService = unitService;
    }

    public static SystemMenuService getSystemMenuService() {
        return systemMenuService;
    }

    public static void setSystemMenuService(SystemMenuService systemMenuService) {
        ServicesList.systemMenuService = systemMenuService;
    }

    public static ItemHppService getItemHppService() {
        return itemHppService;
    }

    public static void setItemHppService(ItemHppService itemHppService) {
        ServicesList.itemHppService = itemHppService;
    }

    public static SystemGroupService getSystemGroupService() {
        return systemGroupService;
    }

    public static void setSystemGroupService(SystemGroupService systemGroupService) {
        ServicesList.systemGroupService = systemGroupService;
    }

    public static SystemUserService getSystemUserService() {
        return systemUserService;
    }

    public static void setSystemUserService(SystemUserService systemUserService) {
        ServicesList.systemUserService = systemUserService;
    }

    public static SystemGroupAccessService getSystemGroupAccessService() {
        return systemGroupAccessService;
    }

    public static void setSystemGroupAccessService(SystemGroupAccessService systemGroupAccessService) {
        ServicesList.systemGroupAccessService = systemGroupAccessService;
    }

    public static HadiahService getHadiahService() {
        return hadiahService;
    }

    public static void setHadiahService(HadiahService hadiahService) {
        ServicesList.hadiahService = hadiahService;
    }

    public static MembersService getMembersService() {
        return membersService;
    }

    public static void setMembersService(MembersService membersService) {
        ServicesList.membersService = membersService;
    }

    public static AdjMstService getAdjService() {
        return adjService;
    }

    public static void setAdjService(AdjMstService adjService) {
        ServicesList.adjService = adjService;
    }

    public static Locale getLocal() {
        return local;
    }

    public static void setLocal() {
        Locale locale = new Locale("in","ID");
        Locale.setDefault(locale);
        ServicesList.local = locale;
    }

    public static ItemSupplierService getItemSupplierService() {
        return itemSupplierService;
    }

    public static void setItemSupplierService(ItemSupplierService itemSupplierService) {
        ServicesList.itemSupplierService = itemSupplierService;
    }

    public static OrderService getOrderService() {
        return orderService;
    }

    public static void setOrderService(OrderService orderService) {
        ServicesList.orderService = orderService;
    }

    public static TorderService getTorderService() {
        return torderService;
    }

    public static void setTorderService(TorderService torderService) {
        ServicesList.torderService = torderService;
    }

    public static SystemNumberingService getSystemNumberingService() {
        return systemNumberingService;
    }

    public static void setSystemNumberingService(SystemNumberingService systemNumberingService) {
        ServicesList.systemNumberingService = systemNumberingService;
    }

    public static ItemStokService getItemStokService() {
        return itemStokService;
    }

    public static void setItemStokService(ItemStokService itemStokService) {
        ServicesList.itemStokService = itemStokService;
    }

    public static ItemPriceService getItemPriceService() {
        return itemPriceService;
    }

    public static void setItemPriceService(ItemPriceService itemPriceService) {
        ServicesList.itemPriceService = itemPriceService;
    }

    public static CompanyService getCompanyService() {
        return companyService;
    }

    public static void setCompanyService(CompanyService companyService) {
        ServicesList.companyService = companyService;
    }

    public static PromoService getPromoService() {
        return promoService;
    }

    public static void setPromoService(PromoService promoService) {
        ServicesList.promoService = promoService;
    }

    public static PromoPriceService getPromoPriceService() {
        return promoPriceService;
    }

    public static void setPromoPriceService(PromoPriceService promoPriceService) {
        ServicesList.promoPriceService = promoPriceService;
    }

    public static PromoDisitemService getPromoDisitemService() {
        return promoDisitemService;
    }

    public static void setPromoDisitemService(PromoDisitemService promoDisitemService) {
        ServicesList.promoDisitemService = promoDisitemService;
    }

    public static PromoDistrukService getPromoDistrukService() {
        return promoDistrukService;
    }

    public static void setPromoDistrukService(PromoDistrukService promoDistrukService) {
        ServicesList.promoDistrukService = promoDistrukService;
    }

    public static SalesInitService getSalesInitService() {
        return salesInitService;
    }

    public static void setSalesInitService(SalesInitService salesInitService) {
        ServicesList.salesInitService = salesInitService;
    }

    public static SalesService getSalesService() {
        return salesService;
    }

    public static void setSalesService(SalesService salesService) {
        ServicesList.salesService = salesService;
    }

    public static SalesVoidService getSalesVoidService() {
        return salesVoidService;
    }

    public static void setSalesVoidService(SalesVoidService salesVoidService) {
        ServicesList.salesVoidService = salesVoidService;
    }

    public static SalespendingService getSalespendingService() {
        return salespendingService;
    }

    public static void setSalespendingService(SalespendingService salespendingService) {
        ServicesList.salespendingService = salespendingService;
    }

    public static SalesSavingService getSalesSavingService() {
        return salesSavingService;
    }

    public static void setSalesSavingService(SalesSavingService salesSavingService) {
        ServicesList.salesSavingService = salesSavingService;
    }

    public static WorkstationService getWorkstationService() {
        return WorkstationService;
    }

    public static void setWorkstationService(WorkstationService WorkstationService) {
        ServicesList.WorkstationService = WorkstationService;
    }

    public static SystemReportService getSystemReportService() {
        return systemReportService;
    }

    public static void setSystemReportService(SystemReportService systemReportService) {
        ServicesList.systemReportService = systemReportService;
    }
    
      
    
    
    
    
    
}
